package org.springblade.task.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.task.base.entity.BaseCategory;
import org.springblade.task.base.mapper.BaseCategoryMapper;
import org.springblade.task.base.service.IBaseCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: TODO
 * @author syncwt
 * @date ${date} ${time}
 * @version V1.0
 */
@Service
public class BaseCategoryServiceImpl extends ServiceImpl<BaseCategoryMapper, BaseCategory> implements IBaseCategoryService {

	@Autowired
	BaseCategoryMapper baseCategoryMapper;
	/**
	 * 查询书籍分类列表
	 * @return
	 */
	public List<BaseCategory> queryBaseCategoryList() {
		return baseCategoryMapper.queryBaseCategoryList();
	}
}
